# -*- coding: utf-8 -*-

from django.http import HttpResponse
from django.shortcuts import render
 
def hello(request):
    # return HttpResponse("Hello world ! ")
    context = {}
    context['hello'] = 'hello world!'
    return render(request, 'hello.html', context)
def test(request):
    '''
    启动命令
    python manage.py runserver  0.0.0.0:8000
    安装mysql驱动
    pip install mysqlclient

    '''
    return HttpResponse("Hello test ! ")


